package com.itboye.jinpuyiyuan.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/2/9 0009.
 */

public class UploadImageBean implements Serializable{
    /**
     * code : 0
     * data : [{"path":"/upload/userPicture/other/20170619/dde77b5e0c8f9cc871294873e45dcf01.jpg","uid":23,"ori_name":"1497855954865.jpg","savename":"dde77b5e0c8f9cc871294873e45dcf01.jpg","size":123324,"url":"","imgurl":"http://api.zw.8raw.com/index.php./upload/userPicture/other","md5":"d64a06e554192826b76483f6a89ca00e","sha1":"b7dd464fe325cf09c66d13cb61d0704079d2e2fe","type":"other","ext":"jpg","id":82,"new":0},{"path":"/upload/userPicture/other/20170619/570f9170b32d485f774d9dc495c58a12.jpg","uid":23,"ori_name":"1497857134780.jpg","savename":"570f9170b32d485f774d9dc495c58a12.jpg","size":93070,"url":"","imgurl":"http://api.zw.8raw.com/index.php./upload/userPicture/other","md5":"8e656eef2b5c3816f961a4d4ade6df99","sha1":"4af6522bd59b1a3e83a224435f40b09193c0a762","type":"other","ext":"jpg","create_time":1497857135,"id":84,"new":1}]
     * notify_id : 1497857135
     */

    private int code;
    private String msg;
    private int notify_id;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     {"code":0,"msg":"success","data":
     {"id":"337",
     "create_time":1529660507,
     "update_time":1529660507,
     "project_id":"jinpu",
     "ext":"jpg",
     "type":"avatar",
     "status":1,
     "url":"",
     "size":385667,
     "ori_name":"IMG_20171006_182305.jpg",
     "save_name":"c4e74a272e9ecd963285292c4db1b324.jpg",
     "primary_file_uri":".\/uploads\/pic\/20180622\/c4e74a272e9ecd963285292c4db1b324.jpg",
     "md5":"f50fceed38eee5ec761f04687efd0418",
     "sha1":"90077d19e153940c88cf7b2c4282fe8863340295"},"notify_id":null}
     */

    private DataEntity data;

    public void setCode(int code) {
        this.code = code;
    }

    public void setNotify_id(int notify_id) {
        this.notify_id = notify_id;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public int getNotify_id() {
        return notify_id;
    }



    public static class DataEntity implements Serializable {
        private String id;
        private Long create_time;
        private Long update_time;
        private String project_id;
        private String ext;
        private String type;
        private String url;
        private int status;
        private int size;
        private String ori_name;
        private String save_name;
        private String primary_file_uri;
        private String md5;
        private String sha1;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Long getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Long create_time) {
            this.create_time = create_time;
        }

        public Long getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Long update_time) {
            this.update_time = update_time;
        }

        public String getProject_id() {
            return project_id;
        }

        public void setProject_id(String project_id) {
            this.project_id = project_id;
        }

        public String getExt() {
            return ext;
        }

        public void setExt(String ext) {
            this.ext = ext;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public String getOri_name() {
            return ori_name;
        }

        public void setOri_name(String ori_name) {
            this.ori_name = ori_name;
        }

        public String getSave_name() {
            return save_name;
        }

        public void setSave_name(String save_name) {
            this.save_name = save_name;
        }

        public String getPrimary_file_uri() {
            return primary_file_uri;
        }

        public void setPrimary_file_uri(String primary_file_uri) {
            this.primary_file_uri = primary_file_uri;
        }

        public String getMd5() {
            return md5;
        }

        public void setMd5(String md5) {
            this.md5 = md5;
        }

        public String getSha1() {
            return sha1;
        }

        public void setSha1(String sha1) {
            this.sha1 = sha1;
        }
    }

}
